export default {
  url: "/do/select/account",
  conditionLimit:null,
  selectable: false,
  showIndex: false,
  compact: 220,
  path: 'system/account',
  title: "结算账户",
  entitys: [{"name":"id","label":"编号","type":"search"},{"name":"creator","label":"创建人","type":"user"},{"name":"createGmt","label":"创建时间","type":"date"},{"name":"updateGmt","label":"更新时间","type":"date"},{"name":"title","label":"户名"},{"name":"number","label":"开户账号"},{"name":"bankName","label":"开户银行"},{"name":"bankSubname","label":"开户支行"},{"name":"companyId","label":"所属公司","type":"search","depend":"company"}],
  columns: ["id","title","number","bankName","bankSubname","createGmt"],
  condition: [],
  slots: {
      header$() {
      return (
        <>
        <z-action p='vxp5qn19' label='添加账户' mode='dialog' fields={["title","number","bankName","bankSubname"]} rules={{"title":{"message":"请输入正确内容","required":true},"number":{"message":"请输入正确内容","required":true},"bankName":{"message":"请输入正确内容","required":true}}} type='primary' url='/do/put/account' title='添加账户' />
        </>
      )
    },
    action$({ row }) {
      return (
        <>
          <z-action p='fjrleety' label='编辑' mode='dialog' fields={["title","number","bankName","bankSubname"]} link data={row} url='/do/patch/account' includeTitle='r' />
<z-action p='krtsy9sy' label='删除' mode='confirm' link data={row} url='/do/delete/account' />
        </>
      )
    }
  }
}
  